<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<link href="/Jangdolbaeng2/css/bootstrap.min.css" rel="stylesheet">
<link href="/Jangdolbaeng2/css/customer/common.css" rel="stylesheet">
<!-- 페이지 헤더 분기 -->
	
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Spam</title>
<style type="text/css">
/* 스팸덧글관리 */
*{
	margin:0; padding:0;
	
}
div {
	display: block;
}

</style>
<script src = "/Jangdolbaeng2/js/jquery-1.11.1.js" type="text/javascript"></script>
<script type="text/javascript">

</script>
</head>
<body>
<div id="header">
		<s:include value="sellerHeader.jsp"></s:include>
</div>
<div class="jumbotron" style="height: 400px; background-color: white;">
	<div class="container" style="float:left; width:40%; margin-left: 10%; font-family: anew;">
	    <h1 style="font-family: anew; margin-bottom: 30px;">스팸 관리 페이지</h1>
	    <p>게시판에 불필요한 글을 미연에 방지하세요.</p>
	    <p>우리상인이 등록한 단어를 바탕으로</p>
	    <p>스팸글을 사전에 막을 수 있습니다!</p>
	    <p style="font-size: 15px; margin-top: 20px;">※ 차단 리스트에서 x 버튼을 누르면 삭제할 수 있습니다.</p>	    
		<form action="goInputspam.action" method="post">
			<input type="text" name="keywords" maxlength="12" class="form-control"
			placeholder="차단할 단어를 입력하세요." style="width:470px;">
			<span class="btn btn2 fl" style="padding-left: 0px; margin-left: 160px;">
					<input type="submit" value="스팸 단어 추가" class="btn btn-primary btn-lg">
			</span>
		</form>
		</div>
		<div class="container" style="float:right; width:40%;">
		
		<div class="spam_set" style="font-family: anew;">
	<div class="sset sset1">
		<h2 style="margin-bottom: 20px;">차단된 단어 &nbsp<span class="glyphicon glyphicon-warning-sign"></span></h2>
		<ul class="list">
			<s:iterator value="spamlist">
				<li>
					<span style="font-size: 15px;"><s:property value = "keywords"/></span>
					<a href="del_spamlist.action?spam_seq=<s:property value="spam_seq"/>" class="del">
						<img src="/Jangdolbaeng2/img/seller/btn_del_spamset.gif" width="5" height="5" alt="delete">
					</a>
				</li>
			</s:iterator>
		</ul>
	</div>
</div>
	</div>
</div>
</body>
</html>